package logback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-5-4
 * Time: 上午11:11
 * To change this template use File | Settings | File Templates.
 */
public class LogTest {
    public static Logger logger = LoggerFactory.getLogger(LogTest.class);

    public static void main(String[] args) {
            MDC.put("flowName", "singleShop");

            while (true) {
                //LoggerUtil.infoInterfaceOut("UDP", "getShopInfo(shopId, method)", "746u382", "get");

                LoggerUtil.infoRun("{} is {}", "liweilin", 36);
                LoggerUtil.debugRun("{} is {}", "liweilin", 36);
                LoggerUtil.debugRun("{} is {}", "liweilin", 36);
                LoggerUtil.debugRun("{} is {}", "liweilin", 36);
               // LoggerUtil.infoInterfaceIn("invilid", "ETL", "getShopInfo(shopId, type, endDate)", "123456", "12", "2012-03-13");
                LoggerUtil.debugRun("{} is {}", "liweilin", 36);
                LoggerUtil.debugRun("{} is {}", "liweilin", 36);
                //LoggerUtil.infoLogin("success", "liweilin");
               // LoggerUtil.infoOperate("success", "liweilin", "deleteScope(scopeType, valiDate)", "12345678", "2013-05-12");


            }
    }
}
